package com.mvc.beans;

import java.sql.Date;

/**
 * @author a1926
 * 一条薪资调整记录
 */
public class SalaryAdjustmentRecords extends Records {


    private Integer employeeId;
    private Float originalSalary;
    private Float currentSalary;
    private String adminId;



    public SalaryAdjustmentRecords(Integer recordsId, Integer employeeId, Date time, Float originalSalary, Float currentSalary, String adminName) {
        super(recordsId,time);
        this.employeeId = employeeId;
        this.originalSalary = originalSalary;
        this.currentSalary = currentSalary;
        this.adminId = adminName;
    }



    public SalaryAdjustmentRecords() {
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }


    public Float getOriginalSalary() {
        return originalSalary;
    }

    public void setOriginalSalary(Float originalSalary) {
        this.originalSalary = originalSalary;
    }

    public Float getCurrentSalary() {
        return currentSalary;
    }

    public void setCurrentSalary(Float currentSalary) {
        this.currentSalary = currentSalary;
    }

    public String getAdminName() {
        return adminId;
    }

    public void setAdminName(String adminName) {
        this.adminId = adminName;
    }

    @Override
    public String toString() {
        return "SalaryAdjustmentRecords{" +
                "employeeId='" + employeeId + '\'' +
                ", time=" + time +
                ", originalSalary=" + originalSalary +
                ", currentSalary=" + currentSalary +
                ", adminId='" + adminId + '\'' +
                '}';
    }
}
